Skip to main content

Getting Started

Installation

from npm

npm install @harmoniclabs/plu-ts
npm

npm is the package manager use by NodeJS you can install node and npm from the NodeJS website

from source

git clone https://github.com/HarmonicLabs/plu-ts
cd plu-ts
npm run build
The dist folder

the library is then aviable in the dist folder.

You can move the directory where you need it

Quick start


first create a new directory where to build your project

mkdir my-pluts-project
cd my-pluts-project

then initialize your node project with npm

npm init

install typescript and the typescript compiler tsc if it is not already aviable globally

npm install --save-dev typescript

finally install plu-ts

npm install @harmoniclabs/plu-ts

Examples

have a look at Examples for some example project